/* indent:4  tabsize:8  font:fixed-width */


#import "SpiderSuitDelegate.h"
#import "../Solitaire/Solitaire.h"
#import "../Solitaire/CardSet.subproj/cardset.h"
#import "Spider.h"

@implementation SpiderSuitDelegate

- (BOOL)canAcceptPile:aCardPile from:sender in:aCardPileView
{
    if ([[aCardPileView cardPile] cardCount] == 0)
    {
	if ([aCardPile cardCount] == 13)
	{
	    return YES;
	}
    }
    return NO;
}


- acceptPile:aCardPile in:aCardPileView
{
    [SolGameController() checkForWin];
    return self;
}

@end
